possible improvements:
- dynamic bit strength
